package com.xs.shop.goods.service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xs.shop.goods.model.vo.GoodsDetailsVO;
import com.xs.shop.goods.model.vo.GoodsListDetailsVO;
import com.xs.shop.goods.model.vo.GoodsPageVO;
import com.xs.shop.goods.model.entity.Goods;


import java.util.List;

/**
 * <p>
 * 商品信息表 服务类
 * </p>
 *
 * @author xs
 * @since 2025-07-10
 */
public interface GoodsService extends IService<Goods> {

    IPage<GoodsPageVO> pageQuery(Integer current, Integer pageSize, String name, Long categoryId, Byte isShow);

    GoodsDetailsVO findDetailsById(Long id);

    List<GoodsListDetailsVO> findGoodsListDetailByIds(List<Long> ids);
}
